package com.njupt.sellsec.service.Impl;

import com.njupt.sellsec.dao.OrderInfoDao;
import com.njupt.sellsec.domain.OrderInfo;
import com.njupt.sellsec.service.OrderInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 16:32 2018/7/31
 * @Modified By:
 **/
@Service
public class OrderInfoServiceImpl implements OrderInfoService {

    @Autowired
    private OrderInfoDao orderInfoDao;
    @Override
    public OrderInfo getOrderInfoByOrderId(long orderId) {

        return orderInfoDao.getOrderInfoByOrderId(orderId);
    }
}
